package com.stox.manager;

import java.util.List;
import java.util.Set;

import com.stox.model.Scrip;
import com.stox.model.Watchlist;

public interface WatchListManager{

	public void addToWatchList(List<Long> entryIds, Long watchListId);
	
	public Set<Watchlist> findByParentId(Long id);
	
	public Watchlist save(Watchlist entity);
	
	public void rename(Long id, String newName);
	
	public void delete(Long id);
	
	public void deleteByParentId(Long parentId);
	
	public void deleteEntriesByParentId(Long parentId);
	
	public void clear(Long id);

	public Set<Scrip> findEntriesByWatchListId(Long id);
	
	public void deleteEntry(Long scripId, Long watchListId);
	
	public void moveEntry(Long id, Long oldWatchlistId, Long newWatchListId);
	
}
